QT       += core gui sql network

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    Add.cpp \
    Face.cpp \
    Manage.cpp \
    Resignature.cpp \
    Team.cpp \
    Vacation.cpp \
    main.cpp \
    Server.cpp \
    mymessagebox.cpp \
    src/bif.cpp \
    src/eigen_faces.cpp \
    src/face_alignment.cpp \
    src/face_basic.cpp \
    src/facemark.cpp \
    src/facemarkAAM.cpp \
    src/facemarkLBF.cpp \
    src/facerec.cpp \
    src/fisher_faces.cpp \
    src/getlandmarks.cpp \
    src/lbph_faces.cpp \
    src/mace.cpp \
    src/predict_collector.cpp \
    src/regtree.cpp \
    src/trainFacemark.cpp

HEADERS += \
    Add.h \
    Face.h \
    Manage.h \
    Resignature.h \
    Server.h \
    Team.h \
    Vacation.h \
    face.hpp \
    face/bif.hpp \
    face/face_alignment.hpp \
    face/facemark.hpp \
    face/facemarkAAM.hpp \
    face/facemarkLBF.hpp \
    face/facemark_train.hpp \
    face/facerec.hpp \
    face/mace.hpp \
    face/predict_collector.hpp \
    mymessagebox.h \
    src/face_alignmentimpl.hpp \
    src/face_utils.hpp \
    src/precomp.hpp

FORMS += \
    Add.ui \
    Face.ui \
    Manage.ui \
    Resignature.ui \
    Server.ui \
    Team.ui \
    Vacation.ui \
    mymessagebox.ui

INCLUDEPATH += D:\opencv\opencv-build\install\include
LIBS += D:\opencv\opencv-build\lib\libopencv_*.a

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    res.qrc
